package com.springcloud.configclient.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @EnableEurekaServer 将项目作为SpringCloud中的注册中心
 * @ClassName EurekaApplication
 * @Description
 * @Author xuan
 * @Date 2020/12/3 10:32
 * @Version 1.0
 */

@SpringBootApplication
@EnableEurekaServer
public class EurekaApplication {

    public static void main(String[] args) {
        SpringApplication.run(EurekaApplication.class,args);
    }
}
